// 请求成功的状态码
export const REQUEST_SUCCESS_CODE = 0;

// 请求错误的状态码
export const REQUEST_ERROR_CODE = 1;

// 设置appid
export const APP_ID = 'wx4393b5078a9c771c';


// 请求地址
export const SERVICE_URL = 'http://ceshi.sailafeinav.com/';

export const PULL_DOWN_CONFIG= {
  content: '下拉刷新',
  height: 40,
  autoRefresh: false,
  downContent: '下拉刷新',
  upContent: '释放后刷新',
  loadingContent: '正在刷新...',
  clsPrefix: 'xs-plugin-pulldown-'
}
export const PULL_UP_CONFIG = {
  content: '上拉加载更多',
  pullUpHeight: 60,
  height: 40,
  autoRefresh: false,
  downContent: '释放后加载',
  upContent: '上拉加载更多',
  loadingContent: '加载中...',
  clsPrefix: 'xs-plugin-pullup-'
}

// 获取浏览器信息
export const BROWSER_INFO = window.navigator.userAgent.toLowerCase();
